import {createApp} from 'vue'
import App from './App.vue'
import router from './router/index';
import {pinia} from "./store";
import dynamicComponent from './utils/DynamicComponent';
import NProgress from 'vue-nprogress-ts'
import "element-plus/theme-chalk/src/base.scss";
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import './assets/css/index'

createApp(App)
    .use(router)
    .use(pinia)
    .use(dynamicComponent)
    .use(ElementPlus, {locale: zhCn,})
    .mount('#app');
